﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _05_部分类
{
    class Program
    {
        static void Main(string[] args)
        {
            Person p = new Person();
            p.Id = 1;
            p.Name = "Jim";
            Console.WriteLine("Id:{0},Name:{1}",p.Id,p.Name);
            Console.ReadKey();
        }
    }
}

/*
 * 编译后的源代码如下：
sinternal class Person
{
    // Fields
    public int Id;
    public string Name;

    // Methods
    public Person();
}

 
Expand Methods
 

 */
